package icu.qx.pro.domain.gbs;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * BOM清单对象 gbs_bom
 *
 * @author yong
 * @date 2024-06-12
 */
public class GbsBom extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * bom_code
     */
    @Excel(name = "bom_code")
    private String bomCode;

    /**
     * 产品code
     */
    @Excel(name = "产品code")
    private String bomPdCode;
    private GbsGood gbsGood;

    /**
     * 是否默认
     */
    @Excel(name = "是否默认")
    private String isDefault;

    /**
     * BOM版本
     */
    @Excel(name = "BOM版本")
    private String bomVersion;

    /**
     * 日产量
     */
    @Excel(name = "日产量")
    private Long bomDailyOutput;

    /**
     * 备注
     */
    private String bomDesc;

    /**
     * 工艺路线code
     */
    private String bomRoute;

    public GbsGood getGbsGood() {
        return gbsGood;
    }

    public void setGbsGood(GbsGood gbsGood) {
        this.gbsGood = gbsGood;
    }

    public void setBomCode(String bomCode) {
        this.bomCode = bomCode;
    }

    public String getBomCode() {
        return bomCode;
    }

    public void setBomPdCode(String bomPdCode) {
        this.bomPdCode = bomPdCode;
    }

    public String getBomPdCode() {
        return bomPdCode;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setBomVersion(String bomVersion) {
        this.bomVersion = bomVersion;
    }

    public String getBomVersion() {
        return bomVersion;
    }

    public void setBomDailyOutput(Long bomDailyOutput) {
        this.bomDailyOutput = bomDailyOutput;
    }

    public Long getBomDailyOutput() {
        return bomDailyOutput;
    }

    public void setBomDesc(String bomDesc) {
        this.bomDesc = bomDesc;
    }

    public String getBomDesc() {
        return bomDesc;
    }

    public void setBomRoute(String bomRoute) {
        this.bomRoute = bomRoute;
    }

    public String getBomRoute() {
        return bomRoute;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("bomCode", getBomCode())
                .append("bomPdCode", getBomPdCode())
                .append("isDefault", getIsDefault())
                .append("bomVersion", getBomVersion())
                .append("bomDailyOutput", getBomDailyOutput())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("bomDesc", getBomDesc())
                .append("bomRoute", getBomRoute())
                .toString();
    }
}
